package jtk.project4.fleet.templateField;

import java.awt.Dimension;

import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.control.GroupControl;
import nl.coderight.jazz.form.field.MemoField;
import nl.coderight.jazz.form.field.NumberField;
import nl.coderight.jazz.form.field.TextField;

public class ContohTextAreaField extends GroupControl{
	private MemoField textAreaField ;
	
	public ContohTextAreaField(String bindID){
		setTitle("header.field");
		setBindID(bindID);
		createFields();
		createLayout();
	}
	
	private void createFields(){
		textAreaField = new MemoField();
		textAreaField.setRows(4);
	}
	
	private void createLayout() {
		setLayout(new FormLayout())
		.addLabel("label.textArea")		.addField(textAreaField) ;
	}
}
